package com.tianma.upload.uploadjartest.factory.abstracts;

/**
 * @author lgc
 * @createDate 2020/8/12 - 15:44
 */
public class XiaoMiFactory implements IProductFactory{
    @Override
    public IPhoneProduct getPhoneProduct() {
        return new XiaoMiPhone();
    }

    @Override
    public IRouterProduct getRouterProduct() {
        return new XiaoMiRouter();
    }
}
